package com.ruoyi.buildings.mapper;

import java.util.List;
import com.ruoyi.buildings.domain.FangHouse;

/**
 * 楼盘Mapper接口
 * 
 * @author ruoyi
 * @date 2025-01-16
 */
public interface FangHouseMapper 
{
    /**
     * 查询楼盘
     * 
     * @param id 楼盘主键
     * @return 楼盘
     */
    public FangHouse selectFangHouseById(Integer id);

    /**
     * 查询楼盘列表
     * 
     * @param fangHouse 楼盘
     * @return 楼盘集合
     */
    public List<FangHouse> selectFangHouseList(FangHouse fangHouse);

    /**
     * 新增楼盘
     * 
     * @param fangHouse 楼盘
     * @return 结果
     */
    public int insertFangHouse(FangHouse fangHouse);

    /**
     * 修改楼盘
     * 
     * @param fangHouse 楼盘
     * @return 结果
     */
    public int updateFangHouse(FangHouse fangHouse);

    /**
     * 删除楼盘
     * 
     * @param id 楼盘主键
     * @return 结果
     */
    public int deleteFangHouseById(Integer id);

    /**
     * 批量删除楼盘
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteFangHouseByIds(Integer[] ids);

    List<FangHouse> listBuildingsVo(FangHouse fangHouse);
}
